# $Id: PKGBUILD 65257 2012-02-20 12:38:07Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Patrick Leslie Polzer <leslie.polzer@gmx.net>

pkgname=xkeycaps
pkgver=2.46
pkgrel=6
arch=('i686' 'x86_64')
pkgdesc="XKeyCaps is a graphical front-end to xmodmap."
url="http://www.jwz.org/xkeycaps/"
license=('custom')
depends=('libxaw')
makedepends=('imake' 'xbitmaps')
source=(http://www.jwz.org/$pkgname/$pkgname-$pkgver.tar.Z
	license.txt)
md5sums=('6792f828db6538f44f7696a8783b44ac'
         '6d44b50641d2e7898aebcc668d204751')

build() {
  cd $srcdir/$pkgname-$pkgver
  xmkmf
  make MANPATH=/usr/share/man
  make DESTDIR=$pkgdir install
  make DESTDIR=$pkgdir MANPATH=/usr/share/man install.man
  install -Dm644 ../license.txt \
    $pkgdir/usr/share/licenses/$pkgname/license.txt
}
